Skip to content

feat: add empty results test and improve devcontainer config#74

Merged
sonesuke merged 2 commits intomainfrom
feat/empty-results-test
Apr 4, 2026
Merged

feat: add empty results test and improve devcontainer config#74
sonesuke merged 2 commits intomainfrom
feat/empty-results-test

Conversation

@sonesuke
Copy link
Copy Markdown
Owner

@sonesuke sonesuke commented Apr 4, 2026

Summary

  • Add functional-empty.toml test case for handling empty search results
  • Update Cargo.lock to version 0.2.0
  • Format devcontainer.json with trailing commas
  • Add GitHub CLI config mount to devcontainer

Test plan

  • Run unit tests: mise run test
  • Run clippy: mise run clippy
  • Check formatting: mise run fmt
  • Run empty results functional test: skill-bench run tests --skill patent-search

🤖 Generated with Claude Code

claude added 2 commits April 4, 2026 04:00
When search returns 0 results, CypherEngine::from_json_auto fails
to create a graph, causing the dataset to not be stored. This leads
to "Dataset not found" errors when execute_cypher is called, forcing
the AI agent to fall back to reading the JSON file directly.

This commit fixes the issue by creating a minimal fallback dataset
with a dummy node when the engine creation fails.

Additionally:
- Add logs/ and .skill-bench/ to .gitignore
- Update mise.toml to run cargo install before skill-test
- Increase timeout for patent-assignee-check/triggering test
- Install skill-bench in devcontainer setup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add functional-empty.toml test case for handling empty search results
- Update Cargo.lock to version 0.2.0
- Format devcontainer.json with trailing commas
- Add GitHub CLI config mount to devcontainer

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonesuke sonesuke merged commit b2d36c3 into main Apr 4, 2026
4 checks passed
@sonesuke sonesuke deleted the feat/empty-results-test branch April 4, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants